package com.weizhi.server.service;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.weizhi.server.dto.CategoryDto;

import java.util.List;

public interface CategoryService {
    List<CategoryDto> all();

    void save(CategoryDto category);

    void delete(Long id);
}
